Skip to content

Add test case that wrapped keys cannot be committed or erased#424

Open
padelsbach wants to merge 2 commits into
wolfSSL:mainfrom
padelsbach:add-keywrap-nvm-block-test
Open

Add test case that wrapped keys cannot be committed or erased#424
padelsbach wants to merge 2 commits into
wolfSSL:mainfrom
padelsbach:add-keywrap-nvm-block-test

Conversation

@padelsbach

Copy link
Copy Markdown
Contributor

Related to F-4707 (false positive)

@padelsbach padelsbach force-pushed the add-keywrap-nvm-block-test branch from 1be06f3 to 6b2ce90 Compare June 29, 2026 17:33
@padelsbach padelsbach marked this pull request as ready for review June 29, 2026 17:33
* - This invariant prevents an unwrapped key from shadowing a protected NVM
* entry, so commit and erase must reject a wrapped key id
*/
static int _testWrappedKey_UnwrapCache_NoNvmPersist(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this test in the multiclient test group? It only uses one client

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had grouped all the keywrap tests together there.

I moved the two single client keywrap tests over to the client-server group

@bigbrett bigbrett assigned padelsbach and unassigned bigbrett Jul 2, 2026
@padelsbach padelsbach assigned bigbrett and unassigned padelsbach Jul 15, 2026
@padelsbach padelsbach force-pushed the add-keywrap-nvm-block-test branch from 1400fbe to eef14b7 Compare July 15, 2026 19:29

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #424

No scan targets match the changed files in this PR. Review skipped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants